home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 December / PCWorld_2006-12_cd.bin / v cisle / ophcrack / ophcrack-win32-installer-2.3.3.exe / {app} / src / ophcrack.h < prev    next >
C/C++ Source or Header  |  2006-10-10  |  2KB  |  65 lines

  1. /*
  2.  
  3.     Ophcrack is a Lanmanager/NTLM hash cracker based on the faster time-memory
  4.     trade-off using rainbow tables. 
  5.     
  6.     Created with the help of: Maxime Mueller, Luca Wullschleger, Claude
  7.     Hochreutiner, Andreas Huber and Etienne Dysli.
  8.  
  9.     Copyright 2006 Philippe Oechslin, Cedric Tissieres
  10.  
  11.     Ophcrack is free software; you can redistribute it and/or modify
  12.     it under the terms of the GNU General Public License as published by
  13.     the Free Software Foundation; either version 2 of the License, or
  14.     (at your option) any later version.
  15.  
  16.     Ophcrack is distributed in the hope that it will be useful,
  17.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  18.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  19.     GNU General Public License for more details.
  20.  
  21.     You should have received a copy of the GNU General Public License
  22.     along with Ophcrack; if not, write to the Free Software
  23.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  24.  
  25.     This program is released under the GPL with the additional exemption 
  26.     that compiling, linking, and/or using OpenSSL is allowed.
  27. */
  28.  
  29. /* LanManager/NTLM password cracker using a Time-Memory Trade-Off */
  30. /* Revision 2.3  2006/07/21 tissieres
  31.  * tables auto-detect, max_hash increased
  32.  * 
  33.  * Revision 2.2  2006/03/20 tissieres
  34.  * Integration for livecd version
  35.  *
  36.  * Revision 2.1  2005/12/06 tissieres
  37.  * Added tables modification feature, readahead
  38.  *
  39. "$Id: ophcrack.h,v 2.0 2005/03/24 tissieres Exp $";
  40. */
  41.  
  42.  
  43. #define MAX_HASH 35000
  44.  
  45. #ifdef WIN32
  46. struct tms {
  47.   long tms_utime;
  48.   long tms_stime;
  49.   long tms_cutime;
  50.   long tms_cstime;
  51. };
  52.  
  53. #endif /* WIN32 */
  54.  
  55. int read_file(char* filename);
  56. int read_line(char* line);
  57. int remove_line(int hash);
  58. int main_cmd();
  59. void clear_passwd_arrays(void);
  60. int find_tables();
  61. #ifdef LIVECD
  62. int init_livecd(char *dir);
  63. #endif
  64. int auto_detect_tables(char *directory);
  65.